﻿#include <QCoreApplication>
#include "authorizationguard.h"
#include <QDebug>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    QString key = "yanlei";
    AuthorizationGuard::getInstance().setSecretKey(key);
//    qDebug() << AuthorizationGuard::getInstance().generateAuthorizationLicense();
    qDebug() << AuthorizationGuard::getInstance().isAuthorised();

    qDebug()  << AuthorizationGuard::getInstance().getLatestHintText();
    return a.exec();
}
